n0=; The following sections deal with userlist maintenance
n1=; I wouldn't recommend modifying anything here unless you know this
n2=; script better than I do... I try to avoid modifying it as much as possible
n3=; myself, and I wrote it!
n4=;
n5=; Don't do it!!!
n6=;
n7=deopdevoice {
n8= if $me isop $1 {
n9= if $2 isop $1 mode $1 -o $2
n10= elseif $2 isvo $1 mode $1 -v $2
n11= }
n12=}
n13=add {
n14= ; add nick $1 (address $2) to $3 (numeric level 15-60) list
n15= ; $4 is the nick $1 is currently using
n16= if $3 = 15 {
n17= if (%usespecific) deopdevoice %addchan $4
n18= else {
n19= %i = 0
n20= :nx
n21= inc %i
n22= deopdevoice $chan(%i) $4
n23= }
n24= }
n25= set %nick $replace($1,[,|) | set %nick $replace(%nick,],|) | unset %modified
n26= if $1 = $me { altech -a %dis6 $+ You do not need to add yourself to your userlist! | dh }
n27= if $2 iswm %myadr { altech -a %dis6 $+ %nick appears to be your clone. | altech -a %dis6 $+ You do not need to add yourself to your userlist! | dh }
n227= inc %sw | set %adr %adr $+ $mid(%sw,1,$mask(%ady,3))
n228= if $mid(%sw,1,$mask(%ady,3)) != @ goto nw
n229= return %adr $+ *. $+ %dom
n230= }
n231= goto nx
n232= }
n233= }
n234= return $mask(%ady,3)
n235=}
n236=addban {
n237= ; add mask $1 to ban list on $2 using reason $3
n238= ; $2 = "global" if no channel is specified
n239= if $al($1) = 10 {
n240= set %chans $readini $ul whereban $m($1)
n241= if ((%chans = $null) && ($2 = global)) { altech -a %dis7 $+ $1 is already in your ban list! (Maybe you should try activating it!) | dh }
n242= elseif (($2 isin %chans) && ($2 != global)) { altech -a %dis7 $+ $1 is already in your ban list on $2 $+ ! (Maybe you should try activating it!) | dh }